package com.pengpeng.rabbitmq.consumer;

import com.pengpeng.rabbitmq.listen.AbstractMessageHandler;
import com.rabbitmq.client.Channel;
import org.springframework.stereotype.Component;

/**
 * @author 彭鹏
 * @date 2021/10/19.
 */
@Component
public class MessageHandle extends AbstractMessageHandler {


    @Override
    public void handleMessage(String message, Channel channel) {
        this.logger.info("进入自定义处理方法中......\n消息为：" + message);
    }
}

